package com.wcs.exam.controller.admin.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * Admin-考试-模拟考试-分页-请求参数
 * </p>
 *
 * @author wcs
 * @since 2025-03-31
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-考试-监控数据-题目分析-分页-请求参数")
public class AdminExamDataQuestionAnalysisDetailPageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "resource.exam.data.exam.type.not.null")
    @Schema(description = "考试类型(1：模拟考试、2：正式考试、3：课时考试)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer examType;

    @NotNull(message = "resource.exam.data.exam.id.not.null")
    @Schema(description = "关联ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long relateId;

    @NotNull(message = "resource.exam.data.question.id.not.null")
    @Schema(description = "题目ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long questionId;

    @Schema(description = "是否正确(false:错误、true:正确)--默认：false")
    private Boolean correct;

    @Schema(description = "当前页")
    private Long pageCurrent = 1L;

    @Schema(description = "每页条数")
    private Long pageSize = 20L;

}
